<template>
  <div class="one">
    <div class="first">
      <div class="left">
        <div class="block"></div>
        <b class="title">联动信息总量统计</b>
      </div>
      <div class="right">
        <el-form label-width="auto">
          <el-row>
            <el-col>
              <el-form-item label=" 查询年度：">
  
                <div class="block">
                  <el-date-picker
                    class="dateinput"
                    v-model="value4"
                      size='small'
                    type="year"
                    placeholder="选择年"
                  >
                  </el-date-picker>
                </div>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>
      </div>
    </div>
    <!-- content -->
    <div class="tb">
      <!-- ----toptable -->
      <div class="tleft">
        <TopTable />
      </div>
      <div class="eright">
        <HomeEcharts />
      </div>
    </div>
  </div>
</template>

<script>
import TopTable from "./homeAllTable/homeTopTable/";
import HomeEcharts from "./homeAllEcharts/homeTopEchartsRIght/index.vue";

export default {
  components: { HomeEcharts, TopTable },
  data() {
    return {
      value1: "",
      value2: "",
      value3: "",
      value4: "",
    };
  },
};
</script>

<style  lang='scss' scoped >
.one {
  background-color: #ffffff;
  height: 490px;
  margin-right: 50px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.first {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: #e9e9e9 1px solid;
  width: 100%;
  height: 50px;
  .left {
    display: flex;
    justify-content: space-between;
    align-items: center;

    .block {
      background-color: #5084fb;
      height: 16px;
      width: 8px;
      margin-left: 20px;
    }
    .title {
      font-size: 16px;
      line-height: 50px;
      margin-left: 10px;
      color: #333333;
    }
  }
  .right {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
    padding-right: 20px;
    display: flex;
    line-height: 50px;
    height: 100%;
    .dateinput {
      line-height: 50px;
    }
  }
}
.tb {
  // background-color: pink;
  height: 100%;
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  .tleft {
    height: 400px;
    // background-color: skyblue;
    width: 60%;
    box-sizing: border-box;
  }
  .eright {
    height: 400px;
    width: 100%;
    // background-color: pink;
  }
}
</style>